package com.zhentao.controller;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.service.ChargeUserIncomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/auth/user")
public class ChargeUserIncomeController {
    @Autowired
    private ChargeUserIncomeService chargeUserIncomeService;

    /**
     * @description  我的收益
     * @author 大毅
     * @return ResponseResult
     */
    @GetMapping("/balance/change/list")
    public ResponseResult getBalanceChangeList() {
        return chargeUserIncomeService.getBalanceChangeList();
    }
}
